package API.JDBC.d1104;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.widgets.Label;
import org.eclipse.wb.swt.SWTResourceManager;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Button;

public class Test {

	protected Shell shlAboutEclipseIde;
	private Text text;
	private Composite composite_1;
	private Label lblNewLabel_1;
	private Label lblNewLabel_2;
	private Label lblNewLabel_3;
	private Label lblNewLabel_4;
	private Label lblNewLabel_5;
	private Label lblNewLabel_6;
	private Label lblNewLabel_7;
	private Label lblNewLabel_8;
	private Label lblNewLabel_9;
	private Label lblNewLabel_10;
	private Label lblNewLabel_11;
	private Label lblNewLabel_12;
	private Label lblNewLabel_13;
	private Label lblNewLabel_14;
	private Label lblNewLabel_15;
	private Label lblNewLabel_16;
	private Label lblNewLabel_17;
	private Button btnNewButton;
	private Button btnNewButton_1;
	private Button btnClose;

	/**
	 * Launch the application.
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			Test window = new Test();
			window.open();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	/**
	 * Open the window.
	 */
	public void open() {
		Display display = Display.getDefault();
		createContents();
		shlAboutEclipseIde.open();
		shlAboutEclipseIde.layout();
		while (!shlAboutEclipseIde.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}

	/**
	 * Create contents of the window.
	 */
	protected void createContents() {
		shlAboutEclipseIde = new Shell();
		shlAboutEclipseIde.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\QQ截图20221105135937.png"));
		shlAboutEclipseIde.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_BACKGROUND));
		shlAboutEclipseIde.setSize(844, 434);
		shlAboutEclipseIde.setText("About Eclipse IDE");
		shlAboutEclipseIde.setLayout(new FormLayout());
		
		Composite composite = new Composite(shlAboutEclipseIde, SWT.NONE);
		composite.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		composite.setLayout(new FormLayout());
		FormData fd_composite = new FormData();
		fd_composite.top = new FormAttachment(0);
		fd_composite.left = new FormAttachment(0);
		fd_composite.bottom = new FormAttachment(0, 250);
		fd_composite.right = new FormAttachment(100, 0);
		composite.setLayoutData(fd_composite);
		
		Label lblNewLabel = new Label(composite, SWT.NONE);
		FormData fd_lblNewLabel = new FormData();
		fd_lblNewLabel.top = new FormAttachment(0, 7);
		fd_lblNewLabel.left = new FormAttachment(0, 10);
		lblNewLabel.setLayoutData(fd_lblNewLabel);
		lblNewLabel.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\QQ截图20221105140337.png"));
		
		text = new Text(composite, SWT.READ_ONLY | SWT.WRAP | SWT.V_SCROLL | SWT.MULTI);
		FormData fd_text = new FormData();
		fd_text.bottom = new FormAttachment(0, 250);
		fd_text.right = new FormAttachment(100, -10);
		fd_text.top = new FormAttachment(0, 7);
		fd_text.left = new FormAttachment(0, 129);
		text.setLayoutData(fd_text);
		text.setText("Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)\r\n\r\nVersion: 2021-03 (4.19.0)\r\nBuild id: 20210312-0638\r\n\r\n(c) Copyright Eclipse contributors and others 2000, 2021.  All rights reserved. Eclipse and the Eclipse logo are trademarks of the Eclipse Foundation, Inc., https://www.eclipse.org/. The Eclipse logo cannot be altered without Eclipses permission. Eclipse logos are provided for use under the Eclipse logo and trademark guidelines, https://www.eclipse.org/logotm/. Oracle and Java are trademarks or registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.\r\n\r\nThis product includes software developed by other open source projects including the Apache Software Foundation, https://www.apache.org/.");
		text.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		composite_1 = new Composite(shlAboutEclipseIde, SWT.NONE);
		FormData fd_composite_1 = new FormData();
		fd_composite_1.right = new FormAttachment(100, -10);
		fd_composite_1.left = new FormAttachment(0);
		fd_composite_1.top = new FormAttachment(composite, 6);
		composite_1.setLayoutData(fd_composite_1);
		
		lblNewLabel_1 = new Label(composite_1, SWT.NONE);
		lblNewLabel_1.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\1.png"));
		lblNewLabel_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));
		lblNewLabel_1.setBounds(0, 0, 42, 39);
		
		lblNewLabel_2 = new Label(composite_1, SWT.NONE);
		lblNewLabel_2.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\2.png"));
		lblNewLabel_2.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_LIGHT_SHADOW));
		lblNewLabel_2.setBounds(49, 0, 42, 40);
		
		lblNewLabel_3 = new Label(composite_1, SWT.NONE);
		lblNewLabel_3.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\3.png"));
		lblNewLabel_3.setBounds(101, 0, 42, 40);
		
		lblNewLabel_4 = new Label(composite_1, SWT.NONE);
		lblNewLabel_4.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\4.png"));
		lblNewLabel_4.setBounds(150, 0, 42, 40);
		
		lblNewLabel_5 = new Label(composite_1, SWT.NONE);
		lblNewLabel_5.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\5.png"));
		lblNewLabel_5.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_LIGHT_SHADOW));
		lblNewLabel_5.setBounds(199, 0, 42, 40);
		
		lblNewLabel_6 = new Label(composite_1, SWT.NONE);
		lblNewLabel_6.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\6.png"));
		lblNewLabel_6.setBounds(247, 0, 42, 40);
		
		lblNewLabel_7 = new Label(composite_1, SWT.NONE);
		lblNewLabel_7.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\7.png"));
		lblNewLabel_7.setBounds(299, 0, 42, 40);
		
		lblNewLabel_8 = new Label(composite_1, SWT.NONE);
		lblNewLabel_8.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\8.png"));
		lblNewLabel_8.setBounds(347, 0, 42, 41);
		
		lblNewLabel_9 = new Label(composite_1, SWT.NONE);
		lblNewLabel_9.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\9.png"));
		lblNewLabel_9.setBounds(394, 0, 42, 40);
		
		lblNewLabel_10 = new Label(composite_1, SWT.NONE);
		lblNewLabel_10.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\10.png"));
		lblNewLabel_10.setBounds(448, 0, 42, 40);
		
		lblNewLabel_11 = new Label(composite_1, SWT.NONE);
		lblNewLabel_11.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\11.png"));
		lblNewLabel_11.setBounds(498, 0, 41, 41);
		
		lblNewLabel_12 = new Label(composite_1, SWT.NONE);
		lblNewLabel_12.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\12.png"));
		lblNewLabel_12.setBounds(543, 0, 42, 40);
		
		lblNewLabel_13 = new Label(composite_1, SWT.NONE);
		lblNewLabel_13.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\13.png"));
		lblNewLabel_13.setBounds(591, 0, 43, 40);
		
		lblNewLabel_14 = new Label(composite_1, SWT.NONE);
		lblNewLabel_14.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\14.png"));
		lblNewLabel_14.setBounds(639, 0, 42, 40);
		
		lblNewLabel_15 = new Label(composite_1, SWT.NONE);
		lblNewLabel_15.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\15.png"));
		lblNewLabel_15.setBounds(685, 0, 43, 40);
		
		lblNewLabel_16 = new Label(composite_1, SWT.NONE);
		lblNewLabel_16.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\16.png"));
		lblNewLabel_16.setBounds(733, 0, 43, 40);
		
		lblNewLabel_17 = new Label(composite_1, SWT.NONE);
		lblNewLabel_17.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\17.png"));
		lblNewLabel_17.setBounds(781, 0, 37, 40);
		
		btnNewButton = new Button(shlAboutEclipseIde, SWT.NONE);
		btnNewButton.setImage(SWTResourceManager.getImage("D:\\eclipse\\Project\\YC123\\YC123API\\src\\‫image\\QQ截图20221105155718.png"));
		FormData fd_btnNewButton = new FormData();
		fd_btnNewButton.bottom = new FormAttachment(100, -30);
		fd_btnNewButton.left = new FormAttachment(0, 10);
		fd_btnNewButton.right = new FormAttachment(0, 38);
		fd_btnNewButton.top = new FormAttachment(100, -59);
		btnNewButton.setLayoutData(fd_btnNewButton);
		
		btnNewButton_1 = new Button(shlAboutEclipseIde, SWT.NONE);
		FormData fd_btnNewButton_1 = new FormData();
		fd_btnNewButton_1.top = new FormAttachment(btnNewButton, 0, SWT.TOP);
		fd_btnNewButton_1.left = new FormAttachment(btnNewButton, 20);
		btnNewButton_1.setLayoutData(fd_btnNewButton_1);
		btnNewButton_1.setText("Installation Detail");
		
		btnClose = new Button(shlAboutEclipseIde, SWT.NONE);
		FormData fd_btnClose = new FormData();
		fd_btnClose.bottom = new FormAttachment(100, -32);
		fd_btnClose.right = new FormAttachment(100, -21);
		fd_btnClose.left = new FormAttachment(100, -91);
		btnClose.setLayoutData(fd_btnClose);
		btnClose.setText("Close");

	}
}
